package priv.pront.code.mati.province;

import java.util.Scanner;

/**
 * @Description:
 * @Author: pront
 * @Time:2023-11-16 22:22
 */
public class MC0211 {

    static String n;

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        n = scanner.next();
        double nn = Double.parseDouble(n);
        if (nn < 10) {
            System.out.println(n);
            return;
        }
        int digit = 0;
        if (nn >= 10) {
            while (nn >= 10) {
                nn /= 10;
                digit++;
            }
            if (nn == (int)nn) {
                System.out.println((int)nn + "E" + digit);
            } else {
                System.out.println(nn + "E" + digit);
            }
        }
    }
}
